﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _超市收银系统
{
    // 商品父类
    internal class WaresFather
    {
        //商品编号
        public string Id { get; set; }
        //商品名称
        public string Name { get; set; }
        //商品价格
        public double Price { get; set; }
        //数量
        public int Count { get; set; }


        public WaresFather(string id,string name,double price,int count)
        {
            this.Id = id;
            this.Name = name;
            this.Price = price;
            this.Count = count;
        }
    }
}
